<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <!-- Title and other stuffs -->
    <title>数据统计分析</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="">
    {include file="public/css" /}
    <link href="/static/datepicker/datepicker3.css" rel="stylesheet">
    <style>
        tr img{ max-width: 60px; max-height: 60px;}
    </style>
</head>

<body>

{include file="public/top" /}

<!-- Main content starts -->

<div class="content">

    <!-- 左侧菜单 -->
    {include file="public/menu" /}
    <!-- 左侧菜单 ends -->

    <!-- Main bar -->
    <div class="mainbar">

        <!-- Page heading -->
        <div class="page-head">
            <h2 class="pull-left"><i class="icon-home"></i> 数据统计分析</h2>

            <!-- Breadcrumb -->
            <div class="bread-crumb pull-right">
                <a href="#" class="bread-current">系统管理</a>
            </div>

            <div class="clearfix"></div>

        </div>
        <!-- Page heading ends -->



        <!-- Matter -->

        <div class="matter">
            <div class="container">

                <div class="row">
                    <div class="col-lg-12">
                        <div class="ibox-content" style="line-height: 45px;">
                            <form class="form-inline" action="" method="get">

                                <div class="form-group">
                                    <label class="sr-only">课程名称</label>
                                    <input type="text" placeholder="课程名称" id="courses_title" name="courses_title" class="form-control" value="{$courses_title}">
                                </div>

                                <div class="form-group">
                                    <label class="sr-only">开始日期</label>
                                    <input type="text" class="form-control" placeholder="注册时间" name="starttime" value="{$starttime}" id="startTime">
                                </div>

                                <div class="form-group">
                                    <label class="sr-only">结束日期</label>
                                    <input type="text" class="form-control" placeholder="注册时间" name="endtime" value="{$endtime}" id="endTime">
                                </div>

                                <button class="btn btn-primary" type="submit">查询</button>
                            </form>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-md-12">

                        <div class="widget">
                            <div class="widget-head">
                                <div class="pull-left">Tables</div>
                                <div class="widget-icons pull-right">
                                    <a href="#" class="wminimize"><i class="icon-chevron-up"></i></a>
                                    <a href="#" class="wclose"><i class="icon-remove"></i></a>
                                </div>
                                <div class="clearfix"></div>
                            </div>

                            <div class="widget-content">

                                <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                    <tr>
                                        <th>渠道数量</th>
                                        <th>累积收益</th>
                                        <th>累积访问量</th>
                                    </tr>
                                    </thead>
                                    <tbody>

                                    <tr>
                                        <td>{$data.total_num}</td>
                                        <td>{$data.total_earnings}</td>
                                        <td>{$data.total_visit}</td>
                                    </tr>

                                    </tbody>
                                </table>

                                <div class="pagination1">
                                    {$page}
                                </div>

                            </div>

                        </div>


                    </div>
                </div>
                <!-- Dashboard graph ends -->


            </div>
        </div>

        <!-- Matter ends -->

    </div>

    <!-- Mainbar ends -->
    <div class="clearfix"></div>

</div>
<!-- Content ends -->

<!-- Footer starts -->
{include file="public/foot" /}
<!-- Footer ends -->

<!-- Scroll to top -->
<span class="totop"><a href="#"><i class="icon-chevron-up"></i></a></span>

{include file="public/js" /}
<script src="/static/admin/js/system/form.js"></script>
<script src="/static/system/bootstrap-datepicker.js"></script>
<script>
    $("#startTime,#endTime").datepicker();
</script>
</body>
</html>